<template>
	<view>
		<video v-if="src" class="video" :src="src" autoplay></video>
		<view style="display: none;">{{ src }}</view>
	</view>
</template>

<script>
export default{
	data(){
		return {
			src: ''
		}
	},
	onLoad(query){
		this.src = decodeURIComponent(query.src)
	}
}
</script>

<style lang="scss" scoped>
.video {
	width: 100%;
}
</style>